﻿@model DAL.BlogPost
@{
    ViewBag.Title = "Create Post";
}
<link href="~/Content/EditPost.css" rel="stylesheet" />
<h2>Create new blog post</h2>
<div>
    @using (Html.BeginForm())
    {
        <h4>Title:</h4>
        @Html.TextBoxFor(bp => bp.Title)
        <h4>Entry:</h4>
        @Html.TextAreaFor(bp => bp.PostText,8,150,null)
        <br/>
        <input type="submit" name="CreateBlogPost" value="Save" />
    }
</div>